package com.yearns.dataway;

import net.hasor.spring.boot.EnableHasor;
import net.hasor.spring.boot.EnableHasorWeb;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;

@MapperScan("com.yearns.dataway.mapper")
@EnableHasor()
@EnableHasorWeb()
@SpringBootApplication(scanBasePackages = { "com.yearns.dataway.hasor" })
@PropertySource("classpath:dataway.properties")
public class DataWayApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataWayApplication.class, args);
    }

}
